package com.yonyougov.devops.cruxcisupport.rolebutton;

import com.yonyougov.devops.cruxcisupport.rolebutton.dto.AddMulRoleButtonDto;
import com.yonyougov.devops.cruxcisupport.rolebutton.vo.RoleButtonPageLikeDto;
import com.yonyougov.devops.cruxcisupport.rolebutton.vo.RoleButtonPageLikeVo;
import com.yonyougov.devops.fwc.core.entity.Pagination;
import com.yonyougov.devops.fwc.core.service.BaseService;

import java.math.BigInteger;
import java.util.List;

/**
 * t_role_button服务
 */
public interface RoleButtonService extends BaseService<RoleButtonEntity, BigInteger> {

    //<!--用户自定义代码开始-->

    Pagination<RoleButtonPageLikeVo> findRoleButtonPageLike(RoleButtonPageLikeDto roleButtonPageLikeDto);

    /**
     * 角色批量解除关联按钮
     *
     * @param ids
     */
    void deleteBatchRoleButtonByIds(List<BigInteger> ids);

    /**
     * 角色批量关联按钮
     *
     * @param addMulRoleButtonDto
     */
    void addMulRoleButton(AddMulRoleButtonDto addMulRoleButtonDto);

    //<!--用户自定义代码结束-->
}
